import java.util.*;
public class reve {

	public static void main(String [] args){
		List<String> arr1= Arrays.asList("yellow", "red", "white" ,"green", "blue");
		Collections.reverse(arr1);
		System.out.println(arr1);
		//Collections.sort(arr1, Collections.reverseOrder());
		//System.out.println(arr1);
	}
	
}
